



#ifndef ac_HEADER_H
#define ac_HEADER_H

#include "ns3/header.h"
#include "ns3/nstime.h"
#include "ac-application.h"
#include <vector>

namespace ns3 {

class BasicChannel;

class AcHeader : public Header
{
public:
  AcHeader ();
  AcHeader (uint8_t,uint16_t);

  uint8_t GetData(uint16_t &);
  static TypeId GetTypeId (void);
private:
  virtual TypeId GetInstanceTypeId (void) const;
  virtual void Print (std::ostream &os) const;
  virtual uint32_t GetSerializedSize (void) const;
  virtual void Serialize (Buffer::Iterator start) const;
  virtual uint32_t Deserialize (Buffer::Iterator start);


    uint8_t pckt_type;
    uint16_t node;
};

} // namespace ns3

#endif /* AC_HEADER_H */
